package com.ruoyi.jobservice.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用工单位信息对象 s_company
 * 
 * @author jeffery
 * @date 2021-08-31
 */
@Data
@ToString
public class SCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用工单位ID */
    private Long companyId;

    /** 用工单位名称 */
    @Excel(name = "用工单位名称")
    private String companyName;

    @Excel(name = "所在省")
    private String provinceName;

    @Excel(name = "所在城市")
    private String cityName;
    /** 所在省 */
    private Integer provinceId;

    /** 所在城市 */
    private Integer cityId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系人手机号 */
    @Excel(name = "联系人手机号")
    private String contactPhoneNo;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 公司类型 */
    @Excel(name = "公司类型",readConverterExp = "1=合资,2=独资,3=国有,4=私营,5=全民所有制,6=集体所有制,7=股份制,8=有限责任")
    private Integer companyType;

    /** 公司规模 */
    //@Excel(name = "公司规模",readConverterExp = "1=少于50人,2=50-100人,3=100-500人,4=500人以上")
    private Integer companyScale;

    /** 公司描述 */
   // @Excel(name = "公司描述")
    private String companyDesc;

    /** 吸纳就业人数 */
   // @Excel(name = "吸纳就业人数")
    private Long receivedSoldierCnt;

    /** 公司星级 */
   // @Excel(name = "公司星级",readConverterExp = "1=一星,2=二星,3=三星,4=四星,5=五星")
    private Integer starLevel;

    /** 状态 */
    @Excel(name = "状态",readConverterExp = "0=删除,1=正常")
    private Integer status;


    private Integer userId;

    private String userName;

    private String createName;

    private String password;

    private long roleId;

    private long deptId;

   /* public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setProvinceId(Integer provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Integer getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Integer cityId) 
    {
        this.cityId = cityId;
    }

    public Integer getCityId() 
    {
        return cityId;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setContactPhoneNo(String contactPhoneNo) 
    {
        this.contactPhoneNo = contactPhoneNo;
    }

    public String getContactPhoneNo() 
    {
        return contactPhoneNo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCompanyType(Integer companyType) 
    {
        this.companyType = companyType;
    }

    public Integer getCompanyType() 
    {
        return companyType;
    }
    public void setCompanyScale(Integer companyScale) 
    {
        this.companyScale = companyScale;
    }

    public Integer getCompanyScale() 
    {
        return companyScale;
    }
    public void setCompanyDesc(String companyDesc) 
    {
        this.companyDesc = companyDesc;
    }

    public String getCompanyDesc() 
    {
        return companyDesc;
    }
    public void setReceivedSoldierCnt(Long receivedSoldierCnt) 
    {
        this.receivedSoldierCnt = receivedSoldierCnt;
    }

    public Long getReceivedSoldierCnt() 
    {
        return receivedSoldierCnt;
    }
    public void setStarLevel(Integer starLevel) 
    {
        this.starLevel = starLevel;
    }

    public Integer getStarLevel() 
    {
        return starLevel;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("contact", getContact())
            .append("contactPhoneNo", getContactPhoneNo())
            .append("address", getAddress())
            .append("companyType", getCompanyType())
            .append("companyScale", getCompanyScale())
            .append("companyDesc", getCompanyDesc())
            .append("receivedSoldierCnt", getReceivedSoldierCnt())
            .append("starLevel", getStarLevel())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }*/
}
